Listing 3 is another case where two synchronized functions may need to be independent 清單3是另一種情況,其中兩個(gè)同步的方法可能需要彼此獨(dú)立。
Thus , as a general philosophy , synchronized functions should be kept as small as possible 這樣,作為一個(gè)一般的原則,應(yīng)該盡可能地少用同步方法。
Auto synchronizing function : when strong interference makes the controller cannot work synchronously , the system software will interfere automatically to repair it 自動(dòng)同步功能:當(dāng)強(qiáng)干擾造成控制器不能同步工作時(shí),系統(tǒng)軟件將自動(dòng)干預(yù),予以修復(fù)。
Paralleling breaker a paralleling breaker is the circuit breaker that connects the generator set to the emergency bus , and across which all the individual generator synchronizing functions occur 并聯(lián)開關(guān)并聯(lián)開關(guān)是連接發(fā)電機(jī)組和應(yīng)急母排的線路斷路器,所有的單個(gè)發(fā)電機(jī)通過它完成同步運(yùn)行。
However , any number of threads can simultaneously access the maximum score via the max function , because max is not a synchronized function and hence is independent of the associated locking 但是,可以有任意數(shù)量的線程同時(shí)通過max ( )方法訪問最大值,因?yàn)閙ax ( )不是同步方法,因此它與鎖定無關(guān)。